package com.hq.door.dto;

import com.hq.door.pojo.TClass;
import com.hq.door.pojo.TMajor;

public class ClassInfo {
	String classname;
	String grade;

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getClassname() {
		return classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}
	public ClassInfo getIns(TClass tClass){
		this.classname = tClass.getName();
		this.grade = tClass.getGrade();
		return this;
	}
}
